package com.cxx.purchasecharge.component.bean;

import org.hibernate.validator.constraints.NotEmpty;

import com.cxx.purchasecharge.core.model.GenderCode;

/**
 * 联系人
 */
public class ContactBean extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @NotEmpty
    private String name;
    private String customerId;
    private String customerName;
    private GenderCode genderCode = GenderCode.UNKNOWN;
    @NotEmpty
    private String userSignedTo;
    private String userCreated;
    private String userUpdated;
    private boolean sharable = false;
    @NotEmpty
    private String phone;
    private String tecentQq;
    private String skype;
    private String email;
    /**
     * 微信
     */
    private String weiXin;
    /**
     * 旺旺
     */
    private String wangWang;
    private String dept;
    /**
     * 职位
     */
    private String post;
    private String concernedBusiness;
    private String interest;
    private String photoPath;
    /**
     * 家庭住址
     */
    private String address;

    private boolean deleted = false;
    /**
     * 个人主页
     */
    private String webSite;

    /**
     * 湖南-永州-东安-白牙市镇
     */
    private String region;

    private String comment;

    private ContactTypeBean typeBean;

    //private String contactTypeId;
    //private String contactTypeName;

    public ContactBean ()
    {
    }

    public ContactBean (String name)
    {
        this.name = name;
    }

    public String getName ()
    {
        return name;
    }

    public void setName (String name)
    {
        this.name = name;
    }

    public String getCustomerId ()
    {
        return customerId;
    }

    public void setCustomerId (String customerId)
    {
        this.customerId = customerId;
    }

    public String getCustomerName ()
    {
        return customerName;
    }

    public void setCustomerName (String customerName)
    {
        this.customerName = customerName;
    }

    public GenderCode getGenderCode ()
    {
        return genderCode;
    }

    public void setGenderCode (GenderCode genderCode)
    {
        this.genderCode = genderCode;
    }

    public String getTecentQq ()
    {
        return tecentQq;
    }

    public void setTecentQq (String tecentQq)
    {
        this.tecentQq = tecentQq;
    }

    public String getSkype ()
    {
        return skype;
    }

    public void setSkype (String skype)
    {
        this.skype = skype;
    }

    public String getEmail ()
    {
        return email;
    }

    public void setEmail (String email)
    {
        this.email = email;
    }

    public String getWeiXin ()
    {
        return weiXin;
    }

    public void setWeiXin (String weiXin)
    {
        this.weiXin = weiXin;
    }

    public String getWangWang ()
    {
        return wangWang;
    }

    public void setWangWang (String wangWang)
    {
        this.wangWang = wangWang;
    }

    public String getDept ()
    {
        return dept;
    }

    public void setDept (String dept)
    {
        this.dept = dept;
    }

    public String getPost ()
    {
        return post;
    }

    public void setPost (String post)
    {
        this.post = post;
    }

    public String getConcernedBusiness ()
    {
        return concernedBusiness;
    }

    public void setConcernedBusiness (String concernedBusiness)
    {
        this.concernedBusiness = concernedBusiness;
    }

    public String getInterest ()
    {
        return interest;
    }

    public void setInterest (String interest)
    {
        this.interest = interest;
    }

    public String getPhotoPath ()
    {
        return photoPath;
    }

    public void setPhotoPath (String photoPath)
    {
        this.photoPath = photoPath;
    }

    public String getAddress ()
    {
        return address;
    }

    public void setAddress (String address)
    {
        this.address = address;
    }

    public boolean isDeleted ()
    {
        return deleted;
    }

    public void setDeleted (boolean deleted)
    {
        this.deleted = deleted;
    }

    public String getWebSite ()
    {
        return webSite;
    }

    public void setWebSite (String webSite)
    {
        this.webSite = webSite;
    }

    public String getRegion ()
    {
        return region;
    }

    public void setRegion (String region)
    {
        this.region = region;
    }

    public String getComment ()
    {
        return comment;
    }

    public void setComment (String comment)
    {
        this.comment = comment;
    }

    public String getPhone ()
    {
        return phone;
    }

    public void setPhone (String phone)
    {
        this.phone = phone;
    }

//    public String getContactTypeId ()
//    {
//        return contactTypeId;
//    }
//
//    public void setContactTypeId (String contactTypeId)
//    {
//        this.contactTypeId = contactTypeId;
//    }
//
//    public String getContactTypeName ()
//    {
//        return contactTypeName;
//    }
//
//    public void setContactTypeName (String contactTypeName)
//    {
//        this.contactTypeName = contactTypeName;
//    }

    public ContactTypeBean getTypeBean ()
    {
        return typeBean;
    }

    public void setTypeBean (ContactTypeBean typeBean)
    {
        this.typeBean = typeBean;
    }

    public String getUserSignedTo ()
    {
        return userSignedTo;
    }

    public void setUserSignedTo (String userSignedTo)
    {
        this.userSignedTo = userSignedTo;
    }

    public String getUserCreated ()
    {
        return userCreated;
    }

    public void setUserCreated (String userCreated)
    {
        this.userCreated = userCreated;
    }

    public String getUserUpdated ()
    {
        return userUpdated;
    }

    public void setUserUpdated (String userUpdated)
    {
        this.userUpdated = userUpdated;
    }

    public boolean isSharable ()
    {
        return sharable;
    }

    public void setSharable (boolean sharable)
    {
        this.sharable = sharable;
    }

}
